package com.beamfield.dao.lab;

import com.beamfield.model.ConcreteDensity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ConcreteDensityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConcreteDensity record);

    int insertSelective(ConcreteDensity record);

    ConcreteDensity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConcreteDensity record);

    int updateByPrimaryKey(ConcreteDensity record);

    List<ConcreteDensity> selectAll(@Param("beam_id") Long beamId, @Param("offset") String offset, @Param("limit") String limit,@Param("notice_id") String notice_id,@Param("part_date") String part_date);

    Long selectAllCount(@Param("beam_id") Long beamId, @Param("notice_id") String notice_id,@Param("part_date") String part_date);

    ConcreteDensity selectByNoticeId(String noticeId);
}
